package com.itheima.sh.esdemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.sh.esdemo.mapper.SkuMapper;
import com.itheima.sh.esdemo.pojo.Sku;
import com.itheima.sh.esdemo.service.SkuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * @Name: jsj
 * @Version: 1.0.0
 * @Date: 2020/11/23_21:41
 * @Description:
 */
@Service("skuService")
public class SkuServiceImpl extends ServiceImpl<SkuMapper, Sku> implements SkuService {

    @Autowired
    SkuMapper skuMapper;

    @Override
    public List<Sku> findAll() {
        List<Sku> skuList = skuMapper.findAll();
        return skuList;
    }


}
